/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.stateless;

import entity.Employee;
import entity.Message;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Wx
 */
@Local
public interface MessageSessionBeanLocal {

    public List<Message> getMessages(String userId, String type);

    public Message getMessage(String messageId);

    public void addMessage(String senderId, String receiverId, String subject, String content, Employee owner);
    
    public void deleteMessage(Long messageId);
    
    public void updateStatus(Long messageId);
}
